package BusinessLogic;

import Data.GoodData;
import Data.GoodDataOperator;

public class SaleItem {

	private int saleID;
    private String saleName;
    private double salePrice;
    private int saleNum;
    private double specialPrice;
    private String date;
    
    public SaleItem(){
        
    }
    
    public SaleItem(int id,String name,double price,int num,double spepri,String da){
    	saleID = id;
    	saleName = name;
    	salePrice = price;
    	saleNum = num;
    	specialPrice = spepri;
    	date = da;
    }
    
    public void setDate(String da){
    	date = da;
    }
    
    public String getDate(){
    	return date;
    }

    public void setSpecialPrice(double spepri){
    	specialPrice = spepri;
    }
    
    public double getSpecialPrice(){
    	return specialPrice;
    }
    
    public int getSaleID() {
        return saleID;
    }

    public void setSaleID(int sid) {
        this.saleID = sid;
    }

    public String getSaleName() {
        return saleName;
    }

    public void setSaleName(String sname) {
        this.saleName = sname;
    }

    public int getSaleNum() {
        return saleNum;
    }

    public void setSaleNum(int snum) {
        this.saleNum = snum;
    }

    public double getSalePrice() {
        return salePrice;
    }

    public void setSalePrice(double sprice) {
        this.salePrice = sprice;
    }
}
